<%@ include file="/common/taglibs.jsp"%>


<div class="box">
	<div class="border-right">
		<div class="border-left">
			<div class="inner">
			
				 <form action=busquedaPelicula method="post" >										
					<div class="inner" align="center">					
						<TABLE BORDER="0">
						<TR>
						   <TD colspan="2" align="left"><h3>Busqueda de <span>Peliculas</span></h3></TD>					   
						</TR>					
						<TR>
						   <TD align="right">Pelicula  : </TD>
						   <TD> <input type="text" name="pelicula"/> </TD>				   					   						      
						</TR>
	
						<TR>
						   <TD colspan="2" align="center"> <p><input type="submit" value="Buscar" /></p></TD>					   
						</TR>
						</TABLE> 												  					  	                   			 						    
				  </div>
				</form>																												
					<hr/>
					<br/>			
			<c:forEach items="${data}" var="pelicula">

					<h1><span><c:out value="${pelicula.nombrePelicula}"/></span></h1>
					<p> <c:out value="${pelicula.sinopsis}"/> </p>
					
					<div class="img-box1">
					
						<img src="<c:url value="/resources/images/${pelicula.rutaFoto}"/>" alt="" /> 
						<ul>
							<li><p>Director: <c:out value="${pelicula.director}"/> </p></li>
							<li><p>Actores: <c:out value="${pelicula.actores}"/> </p></li>							
						</ul> 
					</div>				  
					<hr/>					  									
			</c:forEach>			
			
			</div>
		</div>
	</div>
</div>


